<link rel="stylesheet" href="../addons/jy_merch/css/mobile.css?v=1">
<style>
.jylabel-switch.active{
	border-radius:1.5rem;
	background-color:#000;
	color:#fff;
}
.fui-block-group .fui-block-child:before {
    border-right: 0 solid #ececec;
}
.fui-block-group .fui-block-child .text {
    height:2rem;
    font-size: 1.1rem;
    text-align: center;
    color: #f60;
    line-height: 2rem;
}
</style>
<div class='fui-page fui-page-current'>
    <div class="fui-header fui-header-success" style="background:#000">
        <div class="fui-header-left"></div>
        <div class="title">工作台({{pagedata.item.title}})</div>
		<div class="fui-header-right">
			<a ng-click="access_json('jy_merch/manage.index/')" style="font-size:0.6rem;color:#f60"><i class="icon icon-qiehuan" style="font-size:0.6rem;color:#f60"></i> 前往小店商户</a>
		</div>
    </div>
    <div class='fui-content'>
        <div class="headinfo" style="background:#000;border-top:0 #12A1E4 solid;padding:0.3rem">
            <div class="userinfo" style="height:auto">
                <a class="fui-list external" >
                    <div class="fui-list-media">
                        <img ng-src="{{tomedia(pagedata.item.logo) || '../core/resource/images/nopic.jpg'}} ">
                    </div>
                    <div class="fui-list-info">
                        <div class="title" style="font-size:0.8rem">{{pagedata.item.title}}</div>
						<div class="price" style="padding-top:0.3rem">会员数：{{pagedata.access.member_all}}人 (今日用户：{{pagedata.access.member_day}}人)</div>
						<div class="l">
							<div style="width:100%;font-size:12px" href="javascript:;" ng-click="access_json('jy_douyintui/merch.buydiannum/')">点数: {{pagedata.item.diannum || 0}} <span style="color:{{main.syscolor || '#7c1cc9'}}">充值</span></div>
							<div style="font-size:12px">
								<span ng-if="pagedata.item.endtime">到期时间:{{pagedata.item.endtime || '2019-12-18'}}</span>
							</div>
						</div>
					</div>
                </a>
                
            </div>
        </div>
		<div class="group" style="padding:0 0.5rem">
            <div class="fui-cell-group">
                <a class="fui-cell external" ng-click="access_json('/merch.sao_log/')">
                    <div class="fui-cell-icon"><i class="icon icon-rejectedorder"></i></div>
                    <div class="fui-cell-text">活动数据</div>
                    <div class="fui-cell-remark">全部</div>
                </a>
            </div>
			<div class="fui-block-group col-3">            
                    <a class="fui-block-child" ng-click="access_json('/merch.sao_log/')">
                        <div class="title">参与人数</div>
                        <div class="text">{{pagedata.access.sao_all}}</div>
                    </a>
                    <a class="fui-block-child" ng-click="access_json('/merch.coupon_log/')">
                        <div class="title">领券总数</div>
                        <div class="text">{{pagedata.access.coupon_all}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">已使用卡券</div>
                        <div class="text">{{pagedata.access.user_coupon || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">未使用卡券</div>
                        <div class="text">{{pagedata.access.nouser_coupon || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天平均播放时长</div>
                        <div class="text">{{pagedata.videodata.avg_play_duration || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天评论数</div>
                        <div class="text">{{pagedata.videodata.total_comment || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天点赞数</div>
                        <div class="text">{{pagedata.videodata.total_like || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">最近30天播放数</div>
                        <div class="text">{{pagedata.videodata.total_play || 0}}</div>
                    </a>
					<a class="fui-block-child">
                        <div class="title">视频最近30天分享数</div>
                        <div class="text">{{pagedata.videodata.total_share || 0}}</div>
                    </a>
            </div>
        <div class="fui-cell-group">
            <div class="fui-cell">
                <div class="fui-cell-icon">
                    <i class="icon icon-dianpu"></i>
                </div>
                <div class="fui-cell-text">活动管理</div>
            </div>
        </div>
        <div class="fui-block-group col-3">   
                <a class="fui-block-child" ng-click="access_json('/merch.game/')">
                    <div class="icon text-yellow">
                        <i class="icon jinyunicon icon-tianmaopaidui"></i>
                    </div>
                    <div class="title">活动管理</div>
                    <div class="text" style="font-size:0.5rem"><span id="goods_count">{{pagedata.access.gamesnum}}</span> 个</div>
                </a>
				<a class="fui-block-child" ng-click="access_json('/merch.game/edit/')">
                    <div class="icon text-yellow">
                        <i class="icon jinyunicon icon-shuru"></i>
                    </div>
                    <div class="title">添加活动</div>
                     <div class="text"></div>
                </a>
                <a class="fui-block-child" ng-click="access_json('/merch.set/')">
                    <div class="icon text-orange">
                        <i class="icon icon-set"></i>
                    </div>
                    <div class="title">我的设置</div>
                    <div class="text"></div>
                </a>
				<a class="fui-block-child" ng-click="access_json('jy_merch/merch/')">
                    <div class="icon text-orange">
                        <i class="icon icon-dianpu"></i>
                    </div>
                    <div class="title">店铺入口</div>
                    <div class="text"></div>
                </a>
        </div>
		<div class="fui-cell-group">
            <div class="fui-cell">
                <div class="fui-cell-icon">
                    <i class="icon icon-dianpu"></i>
                </div>
                <div class="fui-cell-text">订单管理</div>
            </div>
        </div>
        <div class="fui-block-group col-3">   
                <a class="fui-block-child" ng-click="access_json('/merch.dian_order/')">
                    <div class="icon text-yellow">
                        <i class="icon jinyunicon icon-tianmaopaidui"></i>
                    </div>
                    <div class="title">充值订单</div>
                    <div class="text" style="font-size:0.5rem"><span id="goods_count">{{pagedata.access.gamesnum}}</span> 个</div>
                </a>
        </div>
		</div>
        <div class="fui-title center">更多设置请至PC端后台</div>
    </div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>